tinyMCE.init({
  // General options
  mode : "specific_textareas",
  theme : "advanced",
  editor_selector : "mce",
  editor_deselector : "mceNoEditor",
  height : '300px',
  width : '600px',

  plugins : "jbimages,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",

  // Theme options
  theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,outdent,indent,|,sub,sup,|,hr,forecolor,backcolor,",
  theme_advanced_buttons2 : "formatselect,fontselect,fontsizeselect,|,undo,redo|,link,unlink,image,jbimages,media,|,pagebreak,code,fullscreen",
  theme_advanced_buttons3 : "",
  plugin_preview_width : "500",
  plugin_preview_height : "600",
  theme_advanced_toolbar_location : "top",
  theme_advanced_toolbar_align : "left",
  theme_advanced_statusbar_location : "bottom",
  theme_advanced_resizing : true,
  theme_advanced_resizing_use_cookie : false,

  force_br_newlines : true,
  force_p_newlines : false,
  relative_urls : false,
  forced_root_block : '',
});